package main

import "fmt"

func main() {
	nums := []int{2, 3, 4}
	fmt.Println(nums)
	sum := 0
	for _, num := range nums {
		sum += num
	}
	// 用于Map遍历
	kvs := map[string]string{"a": "11112"}
	for _, v := range kvs {
		fmt.Println(v)
	}
	fmt.Println(sum)
	// 枚举unicode字符串
	for i, c := range "go" {
		fmt.Println(i, c)
	}
}
